package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Role;
import cn.wolfcode.rbac.util.PageResult;
import cn.wolfcode.rbac.util.QueryObject;

import java.util.List;

public interface RoleService {
    void delete(long id);

    Role get(Long id);

    List<Role> listAll();

    void saveOrUpdate(Role role, Long[] ids);

    PageResult query(QueryObject qo);
}
